package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 通知公告对象 gonggao
 * 
 * @author zxl
 * @date 2022-12-13
 */
public class Gonggao extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公告ID */
    private String gonggaoid;

    /** 公告标题 */
    @Excel(name = "公告标题")
    private String gonggaobiaoti;

    /** 公告类型(政策通知,办事指南) */
    @Excel(name = "公告类型",dictType = "sys_gonggao_type")
    private String gonggaoleixing;

    /** 公告内容 */
    @Excel(name = "公告内容")
    private String gonggaoneirong;

    /** 图片url */
    @Excel(name = "图片url")
    private String picurl;

    /** 附件url */
    @Excel(name = "附件url")
    private String fujianurl;

    /** 跳转url */
    @Excel(name = "跳转url")
    private String returnurl;

    /** 公告状态(正常，关闭) */
    @Excel(name = "公告状态",dictType = "sys_gonggao_status")
    private String gonggaozhuangtai;

    /** 创建人ID */
    private String chuangjianrenid;

    /** 创建人 */
    @Excel(name = "创建人")
    private String chuangjianren;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date chuangjianshijian;

    /** 接收人ID */

    private String jieshourenid;

    /** 接收人 */
    @Excel(name = "接收人")
    private String jieshouren;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date fabushijian;

    /** 是否阅读 */
    @Excel(name = "是否阅读")
    private Long shifouyuedu;

    /** 备注1 */

    private String beizhu1;

    /** 备注2 */

    private String beizhu2;

    /** 备注3 */

    private String beizhu3;

    /** 备注4 */

    private String beizhu4;

    /** 备注5 */

    private String beizhu5;

    /** 是否有效 */

    private Long isvalid;

    public void setGonggaoid(String gonggaoid) 
    {
        this.gonggaoid = gonggaoid;
    }

    public String getGonggaoid() 
    {
        return gonggaoid;
    }
    public void setGonggaobiaoti(String gonggaobiaoti) 
    {
        this.gonggaobiaoti = gonggaobiaoti;
    }

    public String getGonggaobiaoti() 
    {
        return gonggaobiaoti;
    }
    public void setGonggaoleixing(String gonggaoleixing) 
    {
        this.gonggaoleixing = gonggaoleixing;
    }

    public String getGonggaoleixing() 
    {
        return gonggaoleixing;
    }
    public void setGonggaoneirong(String gonggaoneirong) 
    {
        this.gonggaoneirong = gonggaoneirong;
    }

    public String getGonggaoneirong() 
    {
        return gonggaoneirong;
    }
    public void setPicurl(String picurl) 
    {
        this.picurl = picurl;
    }

    public String getPicurl() 
    {
        return picurl;
    }
    public void setFujianurl(String fujianurl) 
    {
        this.fujianurl = fujianurl;
    }

    public String getFujianurl() 
    {
        return fujianurl;
    }
    public void setReturnurl(String returnurl) 
    {
        this.returnurl = returnurl;
    }

    public String getReturnurl() 
    {
        return returnurl;
    }
    public void setGonggaozhuangtai(String gonggaozhuangtai) 
    {
        this.gonggaozhuangtai = gonggaozhuangtai;
    }

    public String getGonggaozhuangtai() 
    {
        return gonggaozhuangtai;
    }
    public void setChuangjianrenid(String chuangjianrenid) 
    {
        this.chuangjianrenid = chuangjianrenid;
    }

    public String getChuangjianrenid() 
    {
        return chuangjianrenid;
    }
    public void setChuangjianren(String chuangjianren) 
    {
        this.chuangjianren = chuangjianren;
    }

    public String getChuangjianren() 
    {
        return chuangjianren;
    }
    public void setChuangjianshijian(Date chuangjianshijian) 
    {
        this.chuangjianshijian = chuangjianshijian;
    }

    public Date getChuangjianshijian() 
    {
        return chuangjianshijian;
    }
    public void setJieshourenid(String jieshourenid) 
    {
        this.jieshourenid = jieshourenid;
    }

    public String getJieshourenid() 
    {
        return jieshourenid;
    }
    public void setJieshouren(String jieshouren) 
    {
        this.jieshouren = jieshouren;
    }

    public String getJieshouren() 
    {
        return jieshouren;
    }
    public void setFabushijian(Date fabushijian) 
    {
        this.fabushijian = fabushijian;
    }

    public Date getFabushijian() 
    {
        return fabushijian;
    }
    public void setShifouyuedu(Long shifouyuedu) 
    {
        this.shifouyuedu = shifouyuedu;
    }

    public Long getShifouyuedu() 
    {
        return shifouyuedu;
    }
    public void setBeizhu1(String beizhu1) 
    {
        this.beizhu1 = beizhu1;
    }

    public String getBeizhu1() 
    {
        return beizhu1;
    }
    public void setBeizhu2(String beizhu2) 
    {
        this.beizhu2 = beizhu2;
    }

    public String getBeizhu2() 
    {
        return beizhu2;
    }
    public void setBeizhu3(String beizhu3) 
    {
        this.beizhu3 = beizhu3;
    }

    public String getBeizhu3() 
    {
        return beizhu3;
    }
    public void setBeizhu4(String beizhu4) 
    {
        this.beizhu4 = beizhu4;
    }

    public String getBeizhu4() 
    {
        return beizhu4;
    }
    public void setBeizhu5(String beizhu5) 
    {
        this.beizhu5 = beizhu5;
    }

    public String getBeizhu5() 
    {
        return beizhu5;
    }
    public void setIsvalid(Long isvalid) 
    {
        this.isvalid = isvalid;
    }

    public Long getIsvalid() 
    {
        return isvalid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gonggaoid", getGonggaoid())
            .append("gonggaobiaoti", getGonggaobiaoti())
            .append("gonggaoleixing", getGonggaoleixing())
            .append("gonggaoneirong", getGonggaoneirong())
            .append("picurl", getPicurl())
            .append("fujianurl", getFujianurl())
            .append("returnurl", getReturnurl())
            .append("gonggaozhuangtai", getGonggaozhuangtai())
            .append("chuangjianrenid", getChuangjianrenid())
            .append("chuangjianren", getChuangjianren())
            .append("chuangjianshijian", getChuangjianshijian())
            .append("jieshourenid", getJieshourenid())
            .append("jieshouren", getJieshouren())
            .append("fabushijian", getFabushijian())
            .append("shifouyuedu", getShifouyuedu())
            .append("beizhu1", getBeizhu1())
            .append("beizhu2", getBeizhu2())
            .append("beizhu3", getBeizhu3())
            .append("beizhu4", getBeizhu4())
            .append("beizhu5", getBeizhu5())
            .append("isvalid", getIsvalid())
            .toString();
    }
}
